
Object.defineProperty(exports, "__esModule", { value: true });
/**
* @module create-pub-tt-message
* @author: Hjava
* @description:
* @since: 2019-04-30 15:03:40
*/
var pub_1 = __webpack_require__(/*! _core/pub */ "./src/core/pub/index.ts");
function default_1(_a) {
    var _b = _a.from, from = _b === void 0 ? '' : _b, _c = _a.to, to = _c === void 0 ? '' : _c, _d = _a.body, body = _d === void 0 ? {} : _d;
    return new pub_1.default.Session.PubSendTTReq({
        fromUid: from,
        toUid: to,
        message: body
    });
}
exports.default = default_1;


//# sourceURL=webpack://MTDX/./src/extra/utils/create-pub-tt-message.ts?